import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {DeviceFaultListComponent} from './device-fault-list/device-fault-list.component';

const routes: Routes = [
  {
    path: '',
    children: [
      {
        path: '',
        pathMatch: 'full',
        redirectTo: 'device-fault-list'
      },
      {
        path: 'device-fault-list',
        component: DeviceFaultListComponent,
        data: {title: '设备故障', module: '/device-fault-list/device-fault-list', power: 'SHOW'}
      },
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DeviceFaultListRoutingModule {
}
